getPlaylist

open fun getPlaylist(): Playlist

Gets the associated with this control, if any.

If this control is responsible for rendering content from a playlist (e.g., a media player zone), this method returns that playlist.

Retrieves the Playlist associated with the current com.reveldigital.player.api.Module.

Return

The Playlist object if a module is set and has an associated playlist; otherwise, returns null.